#pragma once
#include <string>
#include "persistable.h"
#include "memento.h"

class CCFGDataBaseSetting : public xml_api::Persistable
{
public:
  CCFGDataBaseSetting(void);
  virtual ~CCFGDataBaseSetting(void);
public:
  virtual bool SaveState(xml_api::Memento* m);
  virtual bool LoadState(xml_api::Memento* m);
public:
  int m_DatabaseType;
  std::string m_IPAddress;
  int m_Port;
  std::string m_User;
  std::string m_Password;
  std::string m_DatabaseName;
  std::string m_accountid;
};
